package com.xc.hotelmgr.webapi.modules.op.service;


import com.xc.hotelmgr.webapi.modules.op.entity.TaskHotelList;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.scheduling.annotation.Async;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient("datahandler-ctrip")
public interface XCFeignServiceOnece {

    // 携程拉取推送
    @Async
    @RequestMapping(value = "ctrip/static",method = RequestMethod.POST)
    void staticCity(@RequestBody TaskHotelList taskHotelList);

    // 携程拉取推送
    @Async
    @RequestMapping(value = "ctrip/static_all",method = RequestMethod.POST)
    void staticCityAll(@RequestBody TaskHotelList taskHotelList);




}
